package model;

import java.util.Date;

public class Message {
    private int userID;
    private int roomID;
	private String text;
    private String time;
    private MsgType type;
	public MsgType getType() {
		return type;
	}
	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public void setType(MsgType type) {
		this.type = type;
	}
	public int getRoomID() {
		return roomID;
	}
	public void setRoomID(int roomID) {
		this.roomID = roomID;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}

	
}
